import request from '@/utils/request'

export function getEnableAdminsWithRole(params) {
  return request({
      url: 'admin/auth/getEnableAdminsWithRole',
      method: 'get',
      params
  })
}

export function swallowDetail(params) {
  return request({
      url: 'admin/treatment/swallow/detail',
      method: 'get',
      params
  })
}

export function swallowEvaluate(data) {
  return request({
      url: 'admin/treatment/swallow/swallowEvaluate',
      method: 'post',
      data
  })
}
